You are here: Failover > Configuring failover monitoring > Protecting Samba shares

Protecting Samba shares

A share is any local volume, drive, or directory resource that is exported and shared across a network. Samba shares must be configured for failover through the failover scripts or created manually on the target.

  1. Mount DTFS on the directory on the source where the Samba share is located.
  2. Start the Double-Take daemon on the source.
  3. Stop and restart the Samba daemon on the source. The Double-Take daemon must be running before the Samba daemon in order for replication operations to be captured.
  4. On your target, set the SMB and WinBind daemons to manual startup. This allows the failover script to control when the daemons start on the target.
  5. Create a replication set on the source that includes /etc/SAMBA/samba_conf and the shared data that has DTFS mounted.
  6. Connect the replication set using the Connection Wizard or the Connection Manager.
  7. Add the following to your post-failover script.
  8. service smb start

  9. If necessary, update DNS.

After failover, the daemons will automatically be started by the post-failover script. If your clients see an access denied or share not found error message when attempting to access a share, they will need to remount the share.